It depends. If you were a resident during 2018, then you are required to file an Illinois state return if you are required to file a federal return. However, if you were a nonresident during 2018 then you are not required to file.
Please view the Illinois link below for more information.
[Edited 04/12/2019 I 8:34 PM]