Erm, no, not quite Stephen, not quite.
Evolution does indeed mean many things to us human beings: bipedality, opposable thumbs, menstruation rather than oestrus, my distressing habit of gaining weight on a rich diet, many things indeed.
But not having to sleep outside is a result of something rather different: civilisation.