Does New Jersey have Jurisdiction for your divorce?
When the defendant is a nonresident, then you must have been a bona fide resident of this state for one year prior to the filing of the complaint, which must be stated in the complaint and proved at the final hearing (Drivers License, etc.). If both parties currently reside in the state, then there is no time period required.
If you have minor children living with your spouse in another state for over six months then you should consider filing in that state as that court has jurisdiction over the children. Your spouse can waive that jurisdiction in writing.
You should file the divorce in the county where you presently reside, or in the County where your spouse resides, if she lives in another County. You or your spouse must have a New Jersey address in the county where you are filing your divorce. New Jersey civilian residents living overseas may file in New Jersey if they have maintained their residency in New Jersey.