If there are marital assets in one state or the other, it would generally make sense to seek a divorce in that state in order to make sure that the court has jurisdiction to divide the assets. Beyond that, as long as residency requirements are met, you can normally file a divorce case where you are domiciled or where the defendant is domiciled.

