Technically, the answer to this depends on the conventions and laws that define a duplex in your area. In most cases, when a building like a duplex is built on a lot that is split down the middle of the two units, creating two separate lots owned by two different people, it becomes a townhouse or “twin home.”