452.305. 1. The court shall enter a judgment of dissolution of marriage if:
(1) The court finds that one of the parties has been a resident of this state, or is a member of the armed services who has been stationed in this state, for ninety days immediately preceding the commencement of the proceeding and that thirty days have elapsed since the filing of the petition; and
(2) The court finds that there remains no reasonable likelihood that the marriage can be preserved and that therefore the marriage is irretrievably broken; and
(3) To the extent it has jurisdiction, the court has considered and made provision for child custody, the support of each child, the maintenance of either spouse and the disposition of property.
2. The court shall enter a judgment of legal separation if:
(1) The court finds that one of the parties has been a resident of this state, or is a member of the armed services who has been stationed in this state, for ninety days immediately preceding the commencement of the proceeding and that thirty days have elapsed since the filing of the petition; and
(2) The court finds that there remains a reasonable likelihood that the marriage can be preserved and that therefore the marriage is not irretrievably broken; and
(3) To the extent it has jurisdiction, the court has considered and made provision for the custody and the support of each child, the maintenance of either spouse and the disposition of property.
3. Any judgment of dissolution of marriage or legal separation shall include the last four digits of the Social Security numbers of the parties. The full Social Security number of each party and each child shall be retained in the manner required under section 509.520.