Squatting is not considered a criminal offense in Massachusetts; however, trespassing is, and landlords who act quickly can remove trespassers with the help of law enforcement.