Distance doesn’t matter at all if you really love each other.
What matters most is the TRUST and HONESTY between both of you in order for that relationship to work out.