Distance isn't a bad thing, if you still have feelings for him. Out of sight, out of mind... distance helps a lot. You have the right to let him know that you can't really be friends right now. He should be accepting of your decision. Friendship is always possible later on, when you are on more solid platonic ground with him.