State tax filing

The section I see says, "Part-year city additional allocations and info." When I click on that, the heading says, "Allocate City Income" with rows for wages, interest, and dividends. The columns are Federal, NYC Resident Portion and Yonkers Resident Portion. When I try to allocate the portion of my wages from when I was a NYC resident, it is automatically 0. Don't I have to pay city taxes for the part of the year that I was resident?