residency once retired

I am a resident of IL and want to maintain my residency in IL when I retire, even though I plan on traveling abroad most of the time. I plan on keeping my driver license, my bank account, and on selling my house. Can I use a friend's home address to maintain my residency? Of course, I will file state taxes in IL.

 

thanks