No, you will not lose your Apple Music if you change countries. Your subscription will automatically update to reflect the new country.