As a Canadian citizen, you are allowed to sponsor your husband while you are living outside Canada. If you are only in Kenya on a visitor status, it would be easier for you to sponsor because you would not be considered to be exclusively living outside Canada. If you get a work permit in Kenya and are working at the time you apply to sponsor your husband to Canada, you might be considered to be living exclusively outside Canada and in that case, you would have to prove to Canada immigration that you will move to Canada when your husband gets his PR. Proof could include having arranged housing or at least a letter from relatives saying you can stay with them, having arranged a job or at least having looked at some job ads and having plans on getting jobs and/or having been accepted to study at a Canadian institution or at least having plans to study.