Broadly, but that's only for "normal" employments and the rules about the cut-off point can be a bit messy, and it will vary depending on what country you go to / come from as the UK will have treaties that set out specific rules with most "mainstream" countries (ie not usually with tax havens or dictatorships).Is it the same in the UK that you have to live outside the country for more than 183 to be considered non resident for tax purposes?
Footballers can be taxed even if they're only in a country (to play football) for a day, but obviously they only pay tax on what they earn that day. However some countries, step forward the enlightened Ireland, aren't arsed as they figure the wider economic benefits of having high-profile stars stage events in Ireland outweigh the hassle and cost of taxing them.