State tax filing

PA state tax should not have been withheld if Hubby worked in Phila all year.

You must file a nonresident PA state tax return to get that back, and then a NJ resident return.

NJ will give you at least partial credit for the Phila wage tax. depending upon the respective tax rates.  Any other income that you had (such as investments) is still taxable for NJ.

https://www.state.nj.us/treasury/taxation/njit14.shtml