As long as at least one spouse has been an Illinois resident, or has been stationed in Illinois for military service, for at least the past 90 days, either spouse can file for divorce in Illinois. There is no requirement that you and your spouse have been legally separated or living apart from each other for any length of time before filing. There is no tangible legal advantage to filing first, but doing so can help to put the legal process in motion.