Portugal considers an individual to be tax resident if:
Spends more than 183 days, consecutive or not, in Portugal in any 12-month period starting or ending in the fiscal year concerned.
Regardless of spending less than 183 days in Portugal, maintains a residence (i.e. a habitual residence) in...