The $varphi$ Josephson junction has a doubly degenerate ground state with the Josephson phases $pmvarphi$. We demonstrate the use of such a $varphi$ Josephson junction as a memory cell (classical bit), where writing is done by applying a magnetic field and reading by applying a bias current. In the store state, the junction does not require any bias or magnetic field, but just needs to stay cooled for permanent storage of the logical bit. Straightforward integration with Rapid Single Flux Quantum logic is possible.