Assuming we are talking the membrane ...
The biggest issue, after replacing rotten roof sheathing and structure is always roof "penetrations". If these are not done PERFECTLY, you have just started the cycle over again.
I am not a fan of EPDM and lap sealants. IMHO, they will all fail (leak). TPO uses heat "welded" seams. If done correctly the 2 pieces have become one.