It won’t affect egg laying but it will affect how clean the eggs are. What you need to do is get those hens roosting. Unless they are Silkies they are old enough. Since Silkies can’t fly they are a special case.
At that age they should all be roosting but sometimes you have bullies on the roost. Some might be tired of getting beat up, the nests may be a safer place to sleep. It could be something else entirely but I suggest you put up an additional roost, higher than the nests but lower than the main roosts and separated from the main roosts horizontally a bit so they have a safer place to sleep. For the first few nights you may need to move them to the new roost but they should get the message fairly quickly. It doesn’t have to be very long, just a couple of feet should be plenty since you are only talking about two.
I don’t know enough about your flock and their laying history to give any real specific suggestions. If you are north of the equator it’s typical for hens to molt this time of year and stop laying. I’m not getting any eggs either because of molting. Some hens will lay in the winter, some don’t even if they are not molting. Some (not all) pullets will lay through the winter their first laying season but with yours a year old, they are probably past that. I have had pullets in their first year and older hens that have finished the molt start laying this time of year, I’ve had them wait until later in spring to start.
If you have electricity down there you can try extending the light, add a few minutes to the day length at a time to try to trick them into thinking it is later in spring so they will start. That might work if they have finished the molt.