Pack and play

Melissa
Is it safe to keep baby in a pack and play for sleeping purposes. I live in a one bedroom apartment and we really don't have room for a crib. Or should we just get a crib?