There was a story recently about this happening to a woman (a soldier who was only momentarily earning 90k/yr for hazard pay) recently with about the same result. Retarded law, retarded idea - child custody as a meal ticket. Although if this case is just about alimony, that's even worse.
Anyway, the particulars of this person's struggle don't matter. The default marriage contract is stupid and it seems you can get into bad situations that might not even be possible with a non-marriage contract; don't go into a marriage blind.