In American English, we usually don’t say “university” in this context; instead, we’d use “college.” Like other commenters have pointed out, you don’t need “the” here.
Anna is in college = Anna is currently enrolled and taking classes at a college or university
Anna is at college = Anna is physically on a college campus OR Anna is away from her home and is physically on or near her college’s campus (in the sense of #1)