A roommate is someone with whom you share a bedroom, but a flatmate is someone with whom you share a house or apartment.