The ice cube would melt, it would just take longer, heat does transfer through vacuum via radiation. And no, you can't control the positions of the electrons to stop that radiation from happening, it is a quantum effect not something you can control.