He was jailed for six months for sleeping.
Everybody in the world sleeps and the whole wolrd cannot be jailed for sleeping.
Sleeping is done with the eyes closed while stealing is done with eyes open.
Stealing is a crime but sleeping is not.