Dear Ariano,
You might like to check out the article
here. Most Anglican ministers are fairly definite that you have to be resident in their parish or on the electoral roll of their church. There are common and special licences which you can obtain (see article). Other denominations are not usually so definite.
Liz