It's most common in species that sleep in open fields or water, like ducks and seabirds. Some long-distance migrants are capable of sleeping on the wing, since they often need to stay aloft for days or weeks at a time.
Where do water birds sleep at night?
Waterfowl and shorebirds sleep near the water. Ducks often stand at the water's edge or on a partially submerged stick or rock and tuck one foot into their body, much like birds do on perches. Wherever birds can get a good footing, they tuck themselves in for a rest.
Where do the birds go to sleep?
During harsh conditions, such as strong wind and rain, birds will sleep in a variety of places, like unoccupied birdhouses, tree cavities, chimneys, dense shrubbery, and any crevices where they will be sheltered until the storms pass.