A separation agreement remains valid as long as both parties adhere to it.
It can be modified if both parties agree to changes, or it may be superseded by a court order. It’s important to review the agreement periodically to ensure it still reflects your situation.