At the center of your being you have the answer; you know who you are and you know what you want.
You can remain friends, even without EU membership. The Prüm Convention, according to which data for combatting crime is exchanged, is a good example of international cooperation.