Dude, the last person was right. You don't get a tan from sitting infront of a fire. You get a tan because UV light from the sun damages your skin and it compensates by increasing the amount of melanonin in your skin. Your next door neighbour Aziz probably has more melanonin in his skin which gives him that 'brown' complextion. It also means he doesn't have to use Factor 15 sun lotion when he goes abroad. Melanonin is the bodies natural defense against UV. Your mate at work, the one with the all year tan aint doing herself any favours by going to the suntan shop, she's continually exposing herself to harmfull UV rays which may lead to Skin Cancer later in Life.
Going back to your question, if you go into space unprotected, you'd explode, freeze to death and get fried buy the UV rays from our sun and all the stars in the universe.