If you were not present, your roommate can give consent to search, whether she was your girlfriend, partner, wife or whatever. However, many factors come into play. If, for instance, you had a specific area of the house/apartment that was your space and not normally a place where the other guy/gal went without your permission, you may have a case for suppression. Consult an attorney.