Are active duty military residents of NJ required to pay NJ state tax if they are stationed out of state?

I was under the impression that NJ was one of the states that exempted active duty military residents from paying state income tax.