Almost every state in the U.S. requires that landlords maintain safe and livable residential units. This is often called a "warranty of habitability." In some places, there are laws that specify exactly what those requirements are; in others, the standards are less defined.