People will typically have to live in the UK for 10 years before applying for the right to stay indefinitely.