I would also suggest that you have the baby in Canada.. That way the child is born a Canadian citizen removing any complications in the childs case if you and your wife decide to go to Thailand after the delivery..
You can then stay on in Thailand until you have to return to Canada to maintain...