Squatting is stealing.
It’s only theft if somebody owns something. An abandoned home is owned by nobody.