Yes, you should sign the IL-1040 before filing it.
It can be signed using your name, followed by "Executor" or "Personal representative" (whichever title applies).