I have both - some hens like the closed in feeling, some will lay on the floor under the nest boxes ... and some will lay in the barn on top of the hay pile I figure if they'll lay there (no sides, no top) they'll lay anywhere and usually do ( grrrr )
If your hens haven't laid before...