If you want to avoid going to court, the divorce must be uncontested and amicable. Both parties must be represented by attorneys.