Go Ask Alice at Columbia University says:
Sperm could be in pre-cum, but only after a recent ejaculation, after which some sperm may be left hanging around in the urethra. "Recent" means masturbating earlier and then having sex with a woman, or during the same sexual episode of the recent...