でいる

remain; stay

→ だ
phrase Common #4,119
remain; stay Follows a noun or adjective-like expression to indicate continuing in that state. In つもりでいる, it means to have or maintain an intention.
JA: 彼はいつも冷静でいる。
EN: He always stays calm.

霊でいるだけでなく

Not merely being a spirit

— ベルリン・天使の詩 (1987)

いつまでも学生気分でいるなよ。

Stop acting like you're still a student.

私は彼と不幸な生活をするくらいなら独身でいる方がいい。

I would rather stay single than live an unhappy life with him.

クリスマスに独りぼっちでいるのは嫌だよ。

I don't want to be alone on Christmas.

彼は友達作りが苦手で、いつも一人ぼっちでいる。

He has trouble making friends and is always alone.

いつまでもずっとひとつでいる限り心と体で父とすべてはひとつ

As long as we remain one forever, heart and body, father and everything are one.

— ワンス・アポン・ア・タイム・イン・ハリウッド (2019)

常に完璧でいる必要はないんだよ。

You don't have to be perfect all the time.

留守中いい子でいるんですよ。

Be a good boy while I'm away.

人形でいるのは今日が最後明日からは人間の子供になるの

Today is my last day as a doll. Starting tomorrow, I’ll become a human child.

— ほんとうのピノッキオ (2019)