State tax filing

What if you are a non-resident alien (for federal tax purposes) on a visa but a resident of Massachusetts because you lived there for the full year?

Non-resident aliens on a visa don't have to pay tax on bank interests at the federal level. Does this also apply to Massachusetts tax for people who are "residents" of the state even though they are a non-resident alien?