I reside in California and had an 3 month internship in Massachusetts. I earned $18,000 there and tax was withheld. Do I have to file both MA and CA state taxes?