Your residency in KSA is not applicable to your Divorce process. Since, your wife is also PR of Canada, therefore, you must file your divorce from within Canada.
According to your question, even u r dual resident, you will have to file your divorce from within Canada, because your wife is also...