Bloke sacked for living in work cubicle to get “free” rent