Your primary residence is absolutely an asset, regardless of whether or not it earns any money ongoingly. If nothing else, owning it avoids the need to pay rent, and you can sell it for money (potentially a lot more money than you paid for it).
You can read more here: https://medium.com/makingofamillionaire/your-house-is-indeed-an-asset-and-anyone-arguing-otherwise-is-likely-missing-something-important-82fe4216ff75