Boyfriend sleeping with me?

I need help on deciding if it's okay for my boyfriend and I to sleep in the same bed. He is visiting me and I have no where else for him to sleep in my dorm room. We both don't believe in premarital sex but is sleeping in the same bed wrong ?