Really simple. If the marriage is ended, for any condition, you leave with what you entered the marriage with.
If you had $12 dollars, and some flip flops, you leave with $12 dollars and your flip flops.
No you don't get alimony, no you don't get money for time served. It's fair for both...