That's not the case for all babies, imho they come with different habits right from the start. I have ~10 kids in my closest family, all with different sleeping habits.
We had our son in his own cot in his own room at night (within hearing range obviously) and in a wicker cradle during the day. We moved to an infant bed as he grew. He moved to a normal size bed a few months ago at 2½ (rather soon, but he's tall and outgrew the infant bed). He's a good sleeper.
We have 3 kids, we've had our babies between us in our bed for the first two weeks or so, thereafter a bedside crib for about 3 months until they've outgrown it, then switched over to a separate IKEA crib, still in our bedroom. We've then moved them over to their own bedrooms somewhere around their first birthday.