Naturalization (the process of obtaining citizenship voluntarily). If you decide to obtain permanent residence status through naturalization, you must adhere to certain conditions. One of the main ones is to live in Morocco for at least 5 years without leaving the country.