In the near future, extremely large ground-based telescopes may conduct some of the first searches for life beyond the solar system. High spectral resolution observations of reflected light from nearby exoplanetary atmospheres could be used to search for the biosignature oxygen. However, while Earth’s abundant O2 is photosynthetic, early ocean loss may also produce high atmospheric O2 via water vapor photolysis and subsequent hydrogen escape. To explore how to use spectra to discriminate between these two oxygen sources, we generate high-resolution line-by-line synthetic spectra of both a habitable Earth-like and post-ocean-loss Proxima Centauri b.