What does "an annual Massachusetts gross income" mean? Does it include income from outside Massachusetts?

What does "an annual Massachusetts gross income" mean? Does it include income from outside Massachusetts?

I am a part-year Massachusetts residence, my total income is from outside Massachusetts, should I file a tax return for Massachusetts?