Along the beaches and in the mountains, more and more Americans are choosing to work from home in towns formerly better known as resort destinations.