Yes bugs do sleep, this is the period of inactivity where they take rest from moving, eating or hunting. According to research the position of the bug's antenna is used to indicate sleep. For example during activities the bug's antenna is moving, while during sleep it is down. For most insects during the cold weather they go into inactivity which is like sleep until the new season before they wake.