As long as she meets the sponsor requirements it's okay if she isn't working.
Sponsorship eligibility (Pasted from Guide 3900)
In order to sponsor, you must…
be 18 years of age or older,
be a Canadian citizen, Registered Indian or permanent resident,
be sponsoring a member of the...