In order to get Thai permanent residence, one need to have work visa, work permit, work for 3 years and pass language test. All other visas (spousal, retirement, elite) do not qualify.
Some countries accept 1 year visas as proof of residence, others like Canada do not.