Normally residence comes before citizenship, except in the case of applying for citizenship by investment in countries such as Dominica as you can directly gain citizenship there.