Leaving baby in bed?

Is it ok to leave my baby in his bed sleeping and go downstairs to clean?