(a) Except as otherwise provided by this subchapter, neither party to a divorce may marry a third party before the 31st day after the date the divorce is decreed.
(b) The former spouses may marry each other at any time.