Why not on est resté
or nous sommes restés
« On » is singular, grammatically speaking, like the impersonal/formal « one » in English, but in the example it appears to be being treated as plural « nous »
I would have thought On est restés was incorrect.