The dna of sperm will be die or fragment very quickly when outside a body.
It lives for about 72 hours inside a woman.
For it to be used in a crime it would have to be collected and transferred to the body immediately or at the time of killing.
It degrades very quickly.
Remember the Marilyn Rynn murder case for