The original home button must transfer with a screen replacement to keep Touch ID. Battery replacement requires removing the strongly glued logic board.
What to check before buying
Screen and home button
The iFixit screen guide says the Touch ID sensor in the home button is paired with the logic board. A new front panel without the original button will not retain Touch ID.
Battery access
The battery guide requires logic-board removal and notes strong adhesive under both assemblies. Its pictured Wi-Fi procedure leaves cellular antenna steps outside the guide, making variant identification important.