State tax filing

Below is my snip for New York. Now that I'm reading these posts in more detail, it seems that what I really need to do is to use the 80,434 / 365 * (# Days NJ Resident) to get the value for box 1. For box 2 though, because I am getting a refund for NY, does that mean I am not able to earn this credit?

 

Screen Shot 2023-02-28 at 22.27.02.png