You would report an AZ resident return declaring all your joint income. Then prepare a IL nonresident return and only report the income allocated to work days in IL. You should receive a refund on the remaining tax.
In TurboTax, you need to prepare your nonresident return first so the software will calculate the credit on your resident AZ for any tax you pay to IL.