Babys room

Wondering at what point everyone feels the baby having their own room is a need... how long is it feasible to have baby in your room?