Lol.
In 3d and 2d games if there is a difference
HT suggested I answer so sure
In the 3D games (gens 6-8), I tested it out and all of the eggs fall asleep. In gens 1-4, Pokémon do not have sleep sprites and therefore none of the eggs fall asleep In gen 5, all of the eggs fall asleep.
Sauce: scroll up