The NY state tax return requires that you indicate whether you were a resident of Yonkers (which is in Westchester County) because Yonkers has it's own city tax.
When you select that you were a resident of New York City, this automatically means you are not a resident of Yonkers.