Quantum phases of matter under non-unitary dynamics