When is it okay to allow your baby to sleep with you ?

When it is a good age ?