In Canada, as long as you or your spouse has lived in Canada for at least one year, you will be able to receive a divorce. Divorces are granted by the courts in Canada based on your current marital status as determined by the government of Canada and not as determined by the government where you were married.
Neither you nor your spouse is required to be a Canadian citizen in order to receive a divorce in Canada. The only requirement to make a court application for a divorce is that you or your spouse has been resident in Canada for at least one year.