You don't need to be resident, but UK residents would find it difficult. Certainly possible for other crown dependency residents (Jersey/Guernsey) to get M-reg. A colleague of mine in Jersey has an Cirrus on it and uses FAA licensing (IR) and maintenance.