hi, I’m not an expert but it is mentioned on ircc website that, spouse should be in canada for entire application processing time.
you can complete whole documentation, it itself take few months
complete whole forms
come back to canada and apply at the same time
then you can go back for around. 2-3 weeks maximum
Because One of my friend did the same , and her husband came in 6 months in canada
I hope this helps