Both are OK there, though 'at' is more common. 'At' is a point location ( at home, at school, at work ). 'In' is a 2- or 3-dimensional location ( in the building, in the classroom ) The word is ' studying '.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.