The Jurisdiction where a divorce takes place can have a big effect on the ultimate cost of the overall action, as different counties and states have different costs associated with the filing and final disposition of the matter. Generally, if the parties are in agreement about the details of the divorce they can file anywhere they agree to. This may be advantageous if the parties are looking to save money on filing fees.
If the parties disagree about any part of the divorce then they would be limited to filing in either the jurisdiction where they were originally married, where the defendant resides, or where the parties resided together prior to separation. Consideration of where to file is an important part of the divorce process and should be consulted with a local attorney familiar with the local practices in that jurisdiction.