The other answers talk about the direct benefits. The question seems to imply an additional interest in the effect on resale value, so I'll try to focus on that. There are several aspects to resale value.
One is things that are recognized by appraisers and tax officials as directly affecting the baseline market value. This is stuff like square footage, number of rooms of different kinds, type of construction, age, relative valuations of similar houses nearby, etc. The type of doors doesn't matter there. On appraisals, there is often an adjustment for things like quality of finishes and materials, and general condition, but it is in the aggregate. Door type won't really help or hurt there, either.
Another effect on resale value is "saleability". These are qualities that make the house seem desirable to a buyer, perhaps influencing whether you get an offer, or how many offers you get. These might even tip the scale a little on what a buyer is willing to pay.
There are big influencers and little influencers, and the little influencers don't matter unless you get past the big ones. The big ones are things like location, curb appeal, how move-in ready it is, and how well cared for it appears.
The little influencers are things like cool features and the quality of workmanship and materials; is everything bottom-of-the-line builder's grade or something better? Potential buyers will notice decent doors because they feel more substantial. The doors will add to the sense of quality.
But a caveat--they need to be generally consistent with the grade and quality of other things in order to matter for resale value. You can't take a simple and plain, inexpensive, cookie cutter house, just stick elaborate crown molding in the living room, and expect that molding to affect the price. The quality of materials, finishes, and workmanship are assessed in the aggregate. One item that is inconsistent with everything else stands out like a flag. A high-end item that's out of place with everything else can even call attention to everything else looking cheap.
So, like many improvements, good doors might affect resale value positively if they are consistent with the quality of other things in the house or part of a general upgrade program. Don't do it as an "investment", expecting them to return their cost at resale. Base a replacement decision on whatever benefits and satisfaction they will provide to you while you live there and consider any effect on resale just gravy.