Do you need to be a resident in one state in order to apply for license?

I am applying for IL CPA license, but I am currently working and living in other state, do I need to be a resident in order to apply?