How do I file when I live in New York City and work in New Jersey?

I'm confused, because between the examples given when entering my info in TT and the questions being posted