If you work out of town, it is still not recommended to keep a cat, because people who work out of town basically rent a house. If you move, you may not be able to keep a cat in the new house. Then the owner You have to find an owner for the cat or simply choose to abandon the cat.
No matter which choice you make, it will be harmful to the cat. Therefore, it is really not recommended for people working outside the home to keep cats.