Either party is allowed to obtain a divorce, regardless if the other spouse agrees. Thus, if you file for legal separation and your spouse wants a divorce, you cannot contest the divorce. The Court will proceed with the divorce request.
Schedule A Consultation