If you’ve booked a one-way rental, you can return a rental car to a different location than you picked it up from. There may be an extra “drop fee” payable upon return for one-way rentals.
Some rental car companies, like Hertz, will let you adjust your return location after renting the car. Fees may apply, so check with your customer service representative to be sure.