You may be considered a tax resident of Kazakhstan if you spend at least 183 calendar days in Kazakhstan during any consecutive 12-month period. Days of arrival and departure are included. Kazakhstan also has a separate center-of-vital-interests test, so tax residency may apply even if you do not reach 183 days.
https://www.gov.kz/situations/770/intro?lang=en
Kazakhstan Tax Residency — 183 Days
183 days in any consecutive 12-month period