Just Add Water
On hot days the worms wriggle their way out of the grass onto the sidewalk. All the water evaporates from their bodies and they die. When it rains their dessicated bodies absorb water and they plump back up. They do not come back to life.