Good that you own up to many of your faults, and that took a job in your home town. That is FUNDAMENTAL, in my opinion. But 6 months is too far away. Anything can happen to your marriage in those 6 months. I think you have to choose between money and your marriage: do whatever you have to do to be in your home town now. Be a full time partner in everything related to your marriage and parenthood. I know, I know, you've got med school debts and career, etc. But let me tell you something -- read some of the threads here. Look at 'em. People with 25 years of solid, hot sex marriage, here now because their spouses are having an affair with some dilbot. How much cash would you pay to avoid that? Your wife is home, she even admits there is a chance you can rebuild. What's that worth to you? Even if she doesn't have an affair, how much will your marriage continue to degrade over 6 months? Is quitting too drastic? Hell yes it is. But so is a divorce! Maybe you can find a way to cut down your hours drastically. I don't know. But don't come back here in 6 months to say I didn't warn you.
The other thing: re-read your original post, as if you were a total stranger: take on the perspective of a single, beautiful woman with a great heart. What kind of a man does she see in your post? And what must you change to be the kind of man she would want to be with? Or, what do you have to change to be the kind of man your wife would be a FOOL to leave?
I envy you. You're WAAAAY ahead of most of us who are on the precipice of losing our wives. Do all you can to keep her, and do it by becoming a great person. There's a hell of lot more to life than career and money.
Me: 50, MLC/WW 45 Young kids Nov 2015: BD1 Apr 2016: BD2 Jan 2017: W filed Feb 2017: D final