Bonjour Vanessa !
"demeurer" is one of these verbs that can take either avoir or être as auxiliary in compound tenses.
Here is a link to the related lesson:
Demeurer can be used with avoir or être in Le Passé Composé... and changes meaning
I hope that's helpful!
À bientôt !