If you did not have any taxes withheld from MA, you will not need to file a Non-Resident return for MA.
If you did have taxes withheld and you are trying to claim a refund, then you will enter the full amount of your wages as the amount earned outside of the state.
(Edited 2/20/2025) @cowan1colleen