Can you deduct your property Tax in NJ if you are a partial residence

I moved during year from NY to NJ

Can you claim all property tax paid for a home in NJ if you were a living in NY part of the year and when living in NY, you also had a primary home?