A deed or agreement between spouses is not a bar to an action for absolute or limited divorce, regardless of whether the deed or agreement was executed:
(1) when the parties were living together or apart; or
(2) before, after, or while there was a ground for divorce.