letting baby sleep in the bed

Mimi
Is it okay to let your baby sleep in the bed with you as long as your up ?