Stale User Deprovision and Undoing deprovision

I have a workflow that runs ever night. It will automatically deprovision any user with a certain timeframe of inactivity. Every now and then, a user does attempt to use their account and we have a process to undo the deprovisioned status in place. However, if the user doesn't log in the same day we undo it, they will be deprovisioned again that night. 

Any suggestions on how we can ignore an account like this from being deprovisioned for a set period?