Your country of residence is the place where you legally reside, not necessarily your country of citizenship. It’s the place where you would want to be sent back home should you need to be evacuated for medical reasons or should you interrupt your trip.