The petition for divorce is a formal legal document that contains background information (such as when the marriage and separation occurred and the names, ages, and social security number of any minor children), states the reason a divorce is desired, and requests relief (including child custody, property division, and other matters).