The Bible is clear that sex is part of marriage and sex should not happen outside of marriage. If you do not have a marriage partner (as when you are single), then it follows that you should not live together before marriage.