The answer is that at present no-one knows .In certain circumstances a husband and wife can argue which Court should have jurisdiction to deal with their divorce, this applies particularly across Europe .The government will have to legislate about this further after Brexit ,it will undoubtedly be a time consuming and complicated matter and just one of the many areas of the law that will need reconsideration