It is fine. A good rule of thumb is to plan to file in the state where your child(ren) live. Be sure to look at the state requirements for each spouse to know just what is required and where you should file. View state requirements.