If the pill bug dries out, its gills won't function properly and the pill bug can suffocate. That's why you usually only find them in damp areas, like under a dead log. If they start to overheat and dry out, pill bugs will even roll into a ball to protect the remaining moisture on their gills.