Yes, your partner can stay with you till the application is completed and provided they don’t change their legal status. If the temporary visa expires before the permanent residency, your spouse can apply for a visitor record and guarantee a longer still until the application is approved.