Tax residency refers to where you are considered as a resident for tax purposes.
Generally, individuals are a tax resident of the jurisdiction in which they live. However, being a permanent resident in a jurisdiction is not a determinant of tax residency.
Please note that BM Digital / Bursa is not in the position to advise you on your tax residency status. You may consult your tax advisor on your tax residency status.