You become a Taiwan tax resident if (1) you stay in Taiwan for 183 or more days in a calendar year, or (2) you hold Taiwan nationality and have a household registered in Taiwan and stay for at least one day.
Please note that the day you come to Taiwan doesn’t count, but the day you leave does. It’s a good idea to keep track of the number of days you have been in Taiwan via the stamps on your passport.