If I lived in two states (6 months in one and 6 months in the other) but only earned money in one state, do I file two part-time resident returns?

I've been stuck in paperwork hell since I filed my tax forms via turbotax this year, and am still trying to figure out what went wrong.

I lived in New Jersey from Jan 1 to June 30. I lived in Vermont from July 1 to Dec 31. I earned money in New Jersey from Jan 1 to Dec 31, and earned no money at all in Vermont.

Turbo Tax printed two NJ state tax returns for me: a resident state tax return with half of my yearly salary listed, and a non-resident state tax return with half of my salary listed. Is that right? Or should I have just filed one partial-year resident return?