Most states you pay about half the # of years you’ve been marrried. In your scenario, 4 years, which sounds about right, as she’ll also walk away with the house, half their assets and child support till kids turn 18 as well on top of that.
After 8 years of medical school, there won’t be a house, or assets to divide up, yet. Just a bunch of bills.
In Ohio, in 1990 and 2003 (guess why I know these dates), alimony was 3 months for every full year a couple was marries, with no alimony if a marriage ended before two full years. An ex-husband could receive alimony if the ex-wife earned more, etc.
For some odd reason, my second wife was in a big hurry to ensure divorce was final 16 days short of two years. I was just glad to end the nightmare.
However, me paying child support (50% of gross income) went on for many months after I had custody, as the bureaucracy moves slowly. Refund? No blood from a stone.