It's not so easy these days. Residential Squating is now criminal so the police can turf you out. Squating in Commercial buildings is still a civil matter though, so you can get a good 6 months out of an abandoned office block if you know what you're doing.