Massachusetts can suspend your registration if your inspection is 60 days past due. Some people may think that the violation is for the inspection but the car may be unregistered if it is more than 60 days past the inspection due date.
You can fill out a waiver form if the vehicle is out of state and you must have it inspected within 3 days of your return to Massachusetts.
http://www.massrmv.com/Portals/30/docs/21307.pdf
NH has a similar program but I think it is 7 days after you return. I used it when bringing a NH registered vehicle back from Florida.