Very often, yes, and the variation within a country can be bigger than the variation between countries. Capital cities and major urban centers usually have the best treatment infrastructure, while rural areas may rely on wells, springs, or small local systems with inconsistent treatment. Tourist destinations are a mixed bag: big resorts often run their own filtration and confidently serve drinkable water, while the town outside the resort gates may not match it. Islands and coastal zones frequently depend on desalination or shipped water, which affects taste and sometimes reliability more than safety, but small islands with limited infrastructure can be genuinely risky.
The other wrinkle is that even where municipal water is well treated, delivery matters: old buildings with rooftop storage tanks, intermittent supply that lets pipes depressurize, or aging plumbing can degrade good water before it reaches your glass, which is why residents in some cities filter despite official assurances.
Practical rule: verify locally rather than nationally.