Illinois has not passed legislation specifically identified as a Castle Doctrine, not at least in the sense that many states have done. But, under the IL Criminal Code (ICC), Article 7) you can find what you're looking for WRT to protecting your home, your family and your possessions. You can read it at
http://www.ilga.gov/legislation/ilcs/ilcs4...Code+of+1961.
But, here's the "short story" (pun intended) for illinois residents;
1) Are justified to use force to protect themselves, others, the defender's dwelling, and other property of the defender.
2) Are justified in using "deadly force" ONLY, when GIVEN a reasonable belief that such force will prevent imminent death or great bodily harm, or will prevent the commission of a forcible felony.
3) Using force justified by the ICC, have an affirmative defense to any claim or liability brought by or on behalf of the "aggressor."
4) Have no explicit duty to retreat from a defensive role.
So Illinois has what could be called a castle doctrine, but we don't.
later,