Marriages are to be celebrated in a parish where either of the contracting parties has a domicile, quasidomicile, or month long residence or, if it concerns transients, in the parish where they actually reside. With the permission of the proper ordinary or proper pastor, marriages can be celebrated elsewhere.
Source: Code of Canon Law (Vatican.va)