State tax filing

Hi, 

 

I have a follow up question. How can Turbotax know which part of my income were earned  while I was living in NJ and which part of my income were earned while I was living in CA (suppose I work remotely for the same company in NY throughout the year)?

 

Will my W2 reflect this information if I changed my address in my companies system to reflect this change? Or Turbotax will ask me to input the date ranges I lived in NJ and CA?

 

Thank you!