It is possible to transform empty office buildings into residential ones—but remodeling these spaces won’t be easy