に残る

remain in

→ に
phrase Common #3,978
remain in に marks where something remains, including abstract places such as memory or a record.
JA: この歌はずっと記憶に残る。
EN: This song will stay in my memory forever.

週末に寮に残る生徒が?

The students staying in the dorm over the weekend?

— 別れる決心 (2022)

放課後、クラブ活動に残る子供は多い。

Many children stay after school for club activities.

よっぽど印象に残る事じゃないと覚えてないんだよね。

If something doesn’t really make an impression on me, I don’t remember it.

この発見は歴史に残るだろう。

This discovery will go down in history.

でもセヌーラだけはベネの友人なので見逃すことに残るはアパートだけ

But since Senura is Bene’s only friend, we’ll let her go. The only thing left is the apartment.

— シティ・オブ・ゴッド (2002)

そうじゃなくて強い性格の人といると––その人たちの声が頭の中に残るんです

No, it’s more that when I’m around strong personalities, their voices stay in my head.

— どん底作家の人生に幸あれ! (2019)

谷に残る兵は少ない

There are few soldiers left in the valley.

— 風の谷のナウシカ (1984)