For the sake of brevity, I'm referring to European / Western culture.
For a bit more clarity, sleeping with children in the same bed is commonly known as cosleeping or co-sleeping.
It's still practiced today, and for more info on that I'd say try /r/askanthropology.