How to fix military income to non taxable, if home state taxes are due, yet I am stationed in a different state?

My husband is active duty military member. His home if record is NJ. We are stationed in MD. Upon finishing state return, it says NJ taxes are due. Where do I fix the income to non taxable?