Your boyfriend or girlfriend must be a member of your household, meaning that he or she lived with you for the entire calendar year.
The law makes exceptions for temporary absences, such as vacations and medical treatment, but your home must have been that person's official residence for the full year.
Thus, I'd say, "No, you can't claim her."