In New York, for example, second DWI (what they call a DUI) within 10 years is a felony. With a felony conviction, you're in deep stuff - like, forget your medical career - seriously. There are exceptions, of course (one of which I could tell you that would curl your hair), but those tend to be after you've become a doc.
What you have to do is be proactive. The above posters are being gentle. At a maximum, you have a problem? No, at minimum. There is NO WAY anyone who deals with impaired professionals is going to say anything less. One DUI as a physician will require you to sign up with your state's physician health program (PHP), and with that comes a 5 year contract, random drug screening maybe once a week to start, and AA meetings. You might even be "strongly recommended" to attend an inpatient facility, like Talbot or Hazelden. That could be 28 days, but, if you even burp, they could up it to 90 days.
Two DUIs, before even graduating med school? If you don't walk into court having already seen your state PHP and telling the court that you have a problem and you are working on it, and you realize that, if you don't address it, you likely will NEVER be a doctor, then you are shooting yourself in the foot.
Quite honestly, though, if you are rich, and you can get the scummiest, scuzziest lawyer you can, there may be some bizarre way the shyster can get you out of this one, somehow getting the charge dropped. However, the arrest is still there, and you need to, again, be proactive. If it isn't a felony, you still have one DUI. That will follow you around forever, and addictions medicine people will tell you that, just like mental illness, if you have had your life affected by alcohol (and legal problems are just that), then you have a problem. That you had a clinical "relapse" is beyond worrisome.
It's not like you're at risk - you have affirmatively failed once, and are on the bubble for another. Unfortunately, you may have to drink the Kool-Aid (no alcohol) and go "full recovery", and, as the recovery folks would tell you, you should never again in your life, while you are a doctor, have anything at all to drink. If you can't do that, then, again, that's evidence you have a problem. If you have no problem not drinking, then you're already on your way.
For comparison, if you had a commercial driver's license, a second DUI would have it revoked permanently. If your livelihood was eliminated, you're left with nothing.
And, on a sociopathic level, there are people that will discount you because you weren't smart enough to avoid this. 17% of physicians are impaired - that's one out of 6. There's doctors you look at every day that are impaired. Do you see bloodshot eyes? Do you smell alcohol on their breath? They're smart about their addiction.
Finally, do you want a pretty sure way to sink your medical case (not talking the legal side)? Start making excuses or rationalizing. Just think of the millions of people that don't have one DUI.