If you want the DNA for PCR purposes it is not a problem to perform a heat inactivation. In fact is very frequent to extract bacterial DNA by boiling the bacteria at 100ºC for 10 minutes (or more), and (optionally) perform a short centrifuge step (only seconds), recover the supernatant. Thereafter this DNA may be used to perform PCRs.