その時は、学生でいて、。。。
At that time, (I, he, etc.) being a student, . . .
「いて」は「いる」(be) という動詞の「て形」です。
いる → いてある → あって話す → 話して食べる → 食べて
.