squatter (n.)
"settler who occupies land without legal title," 1788, agent noun from squat (v.); in reference to paupers or homeless people in uninhabited buildings, it is recorded from 1880.