A child can sleep separately from parents since the age of two, or no later than five years. In this age range, children are actively playing and learning as part of their cognitive development, so they have good influence to give them personal space to be more free to express themselves.