Almost every "will this fit" question comes down to four numbers.
Door thickness. Residential doors are commonly around 1 3/4 inches, but older doors, interior doors and some slabs are thinner or thicker. Most hardware has a range it can adjust to, and outside that range the spindle and screws will not reach.
Backset. The distance from the edge of the door to the centre of the bore, usually 2 3/8 or 2 3/4 inches. Many latches are adjustable between the two; many are not.
Bore diameter. The big hole through the face, typically 2 1/8 inches for standard hardware, with a smaller edge bore for the latch.
Edge preparation. Whether the door edge is prepared for a drive-in latch or a faceplate, and what shape that faceplate is.
If all four match, a reuse is usually straightforward. If one is out, the honest answer is often to buy hardware that fits rather than to modify the door.