It is okay to enter into a long distance relationship. However, both of you should be committed to the relationship and faithful to each other. Above all, you need to have trust with your partner since it's the only way that can make your relationship to last for long.
I'm a bit older & have different perspective; it's not a "relationship" if she's not sleeping in my bed every night. If sleeping alone & THINKING you're "in a relationship" works for you, knock yourself out.