A settlement agreement— a.k.a divorce agreement or marital settlement agreement—is a legally binding contract between two people getting divorced.
It outlines the terms of the divorce, like how assets and property will be divided, who gets custody of the kids, spousal support, and more.
You file it with the court once it is finalized. And this agreement becomes part of the official divorce process.