Not exactly. The sun doesn't 'heat up and evaporate' the water, the zero air pressure causes the water to violently boil off into a gas. The gas then instantly freezes into chrystals, which is called Desublimation:
So... does water Freeze or Boil in space?
Ah, I see my mistake. Thank's for this, this is extremely informative