My parents are divorced.
I am sorry to hear that. They need to go through some  Divorce laws which varies considerably around the world.
Yes it was no fun. The laws in US for divorce are terrible.
Divorce in the United States
Like marriage, divorce in the United States is under the jurisdiction of state governments, not the federal government. Divorce or "dissolution of marriage" is a legal process in which a judge or other authority dissolves the bonds of matrimony existing between two persons, thus restoring them to the status of being single and permitting them to marry other individuals. The legal process for divorce may also involve issues of spousal support, child custody, child support, distribution of property and division of debt, though
24, 2016, Perry's husband Matthew filed for divorce after it was revealed his wife had engaged in an extramarital affair with Idaho State Senator Jim Guthrie. Rep. Perry issued a statement saying, "I was experiencing a profound crisis in my life. During that time, I turned to a friend in the legislature and ultimately made a terrible mistake for which I am truly sorry." The divorced was later dismissed in court since the couple decided to reconcile. Perry was cleared of any wrong-doing in the Idaho Legislature