Divorce happens when you and your partner decide to end your marriage by going to court and having a judge legally separate you.