This is how one hen lays her egg. Afterwards, she spends a few minutes doing a little nesting, and then she leaves the nest. Each hen is different. Some leave the nest soon after laying their eggs. Others will settle down afterwards and sit for awhile.
What they all need are quiet, soft, clean nests with plenty of straw. What no hen deserves is to be locked in a wire cage, unable to be outdoors and enjoy the sun and rain, or unable to lay her egg in a soft nest.
What no hen deserves is to be housed with tens of thousands of other hens in crowded laying houses, where there is no peace and quiet, no quiet walks in the woods, no hunting for food through tall grass, and no sunshine.