This is known as the residency requirement.
Dyma’r gofyniad cadw fel y’i gelwir.