I have to agree with scylla, I wouldn't recommend this as he is out of status. Usually people do it before their status is about to expire in order to avoid these situations.
In all honesty if you applied inland, there's a good chance your process will be done before you can get the work permit anyway. Inland processes are taking between 5 to 8 months on average, with some taking even less.
The biggest issue is that he is out of status and once IRCC gets ahold of your file, they have to inform CBSA about that situation, and CBSA might start the Removal Process depending on what step your application is in.
On the other hand if he goes home, there is a chance they will return your application and ask you to apply under Outland instead of Inland Spousal.
So it's a tricky situation.
If your restoration of status was applied in less than 90 days of the validity of his status, you guys are still in good terms. Outside of that range is a problem.
I would suggest getting an opinion from an immigration lawyer.