State tax filing

Yonkers is a city on Long Island.  If you didn't live in Yonkers, you aren't a resident.

You would be considered a part-year resident of NY and a part-year resident of DC.  You will pay NY tax on the part of your income earned while living in NY, and you will pay DC income tax on the part of your income earned while living in DC.