Magnetic phase separation in microgravity