I think these friendships only work where there is no mutual attraction. If there is, better not spend much time alone unless you’re free to become more than friends. I speak from experience. I’ve had plenty of male friends I was not attracted to that worked just fine. I even have a good relationship with my ex-boyfriend from high school. We both went off to college and came back ready to marry someone else. When we see each other there is no awkwardness at all. Time and space help neutralize any old attractions and makes it possible to resume a friendship later.