If you can travel, and if you can land, and if you can have a localized power source, maybe nuclear, you would have enough energy to melt the ice for water, and break that water into hydrogen and oxygen, for the oxygen. And you could live. The localized power source is key. Mining the asteroid belt for building material should be the new normal in a more sophisticated space travel era.