Some of my friends who were in my class last year are in the same class with me again this year.
この場合、次のような言い方ができますよ。
ーSome of my friends who were in my class last year are in the same class with me again this year.
「昨年私のクラスにいた何人かの友達が今年も私と同じクラスにいます」=「昨年のクラスの友達何人かと今年もまた同じクラスになった」
to be in the same class with me で私と同じクラスになることを言えますよ。
ご参考まで!