it doesn't work once you leave the atmosphere.
Fun fact: just this past week an experiment on a lunar lander confirmed that GPS signals can be detected from the surface of the moon. I don't know if those signals can give any kind of location precision, but it is an interesting finding.
If the logic gates can feed back onto themselves, you can build a simple [flip flop](https://en.m.wikipedia.org/wiki/Flip-flop_(electronics\)) that can store a bit.