A primary residence can qualify under the 1031 exchange rules. You would need to follow specific guidelines and wait until the five-year period expires before claiming capital gains exclusions.