Often as well as close ones. In a nationally representative sample of 870 people, those in long-distance relationships reported higher relationship quality on several measures and more dedication, and were as likely as people in close relationships to have broken up by the follow-up (Kelmer and colleagues, 2013). A study of more than 1,100 people found few differences between long-distance and geographically close couples (Dargie and colleagues, 2015).
One reason comes from a diary study: long-distance partners shared more about themselves and saw each other in a more idealized light, and both raised intimacy (Jiang and Hancock, 2013).
The risky part is the move. Long-distance couples were more stable than close couples while they lived apart, but likely to break up once they lived close, and long gaps between visits and extreme idealization predicted it (Stafford and Merolla, 2007). Treat closing the distance as a new start: keep the rituals and expect an adjustment.