Sometimes people who are splitting up go to court to have a judge make decisions for them, because they aren't able to reach an agreement themselves.
Children and teens usually don't have to go to court. Sometimes, the court will want to know your thoughts and feelings, and will appoint a lawyer for you to gather information from you and present it to the court on your behalf.
The court process can take a long time. Your parents may have to wait a long time for a court date, and they may have to go back to court several times, with a long wait each time. It won't happen overnight.
Common-law parents — parents who chose to live together without getting married — don't have to get a divorce, because there is no marriage to end. But they do need to decide what will happen to their children and how they will divide their property.
When two people have been living together and they decide not to live together anymore, they are separated. However, when married people separate, their marriage has not yet ended. They have to get a divorce to legally end a marriage. Common-law couples don't have to get a divorce, because there is no marriage to end.
Ideally, your parents will make the decisions together about who you will live with and how that will work. Your opinion should be taken into account.