The butterfly keyboard era Macs took a nosedive in this metric, because they were bad computers.
I have what turns out to be the last Intel 16" MacBook Pro which Apple will ever build. I suspect the Intel part of it will make its resale value kind of grim, but the keyboard, speakers, monitor, build quality: all great.
MacBooks traditionally resell at a significant premium, because they're good computers with a long useful life. I expect this will be true for the M-series as well, although it's too soon to know.
No intention to sell but I suspect resale value will stay OK as there is likely to be ongoing demand from those who want a Mac for x86 cloud development (and non-technical users probably don't care if its x86 or M1).