Depends on a lot of things. Maybe. A certain number of buyers with small children will absolutely want a tub. Is there another tub in the house? Anecdotally a lot of my clients on new builds will go with showers; so there will be a market upon resale but if you live a neighborhood that is mostly young families it may cost you a motivated buyer.
There will still be a tub in the master bath.
We had young kids when we moved in, and we'd bathe them in our tub. After they were old enough, they graduated to showering in their own bathroom, and they rarely, if ever take a bath anymore.
We're within walking distance to elementary and middle school within walking distance, and there are a decent number of kids. but also a lot of households with older, or no kids. There are a lot of other things going for the location besides good schools, so people will without kids should be interested as well.