State tax filing

you prepare returns, hopefully not using Turbotax if you are compensated, but have provided no info about the taxpayer so how are we to determine if he had a state of residency if any? even a nonresident of Illinois could have income taxable by Illinois because it is sourced there.