Usually the resistance does not stay the same, because it is preferred to use a thinner cable, to reduce its cost.
At a given power, double voltage means half current. If the resistance is kept the same, that means 4 times lower losses. If the resistance is doubled by using a thinner cable, that still results in two times lower losses.