State tax filing

Yes you can and so that you do not pay taxes on the same income twice you will get a credit on the NJ return for the PA taxes.