If one spouse puts the other spouse through medical school by working and by delaying his own formal education, and if divorce occurs soon after the doctor completes residency, how might a court's judgment take these factors into consideration? What difference would it make if divorce occurs before the medical license is obtained?