Generally, if you are using photos for a commercial purpose (which a website tends to be) you need to be mindful of whether the photos would be deemed "an invasion of privacy"--something that varies with state law.
The fast and easy way to deal with the situation is to secure permission from your customer. If you've done a good job, they likely won't hesitate to allow your use of the photos. Make sure to get the permission in writing. A qualified attorney can create a form of release for you to use with your projects so that you can develop your portfolio.
If you use the photos without permission, the waters get muddied. If the customers were unhappy, they may not want their house featured because that could be deemed some kind of endorsement of your work. If there are any unusual features to the house, they may be recognizable despite the lack of customer names.
It's best to consult with an attorney so that you're clear on the parameters of the law in your state.
Nina L. Kaufman, Esq. is an award-winning New York City attorney, edutainer and author. Under her Ask The Business Lawyer brand, she reaches thousands of entrepreneurs and small business owners with her legal services, professional speaking, information products, and LexAppeal weekly ezine. She also writes the Making It Legal blog.