State tax filing

On the Turbotax screen, while filing for state returns, under New Jersey, I will have to declare "Yes, I earned all my wages in NJ" even though I am physically working in New York? My employer is based in NJ.