A single block of sleep is a relatively new behaviour, I suspect partially driven by the availability of cheap sources of light and heat. https://www.bbc.com/future/article/20220107-the-lost-medieva...
That theory is on rather shaky grounds: https://pmc.ncbi.nlm.nih.gov/articles/PMC10404514/
This is a contentious theory with little actual historical backing. Most likely people have been sleeping in one block since forever.