Sperm gets ejected from the penis, enters the vagina, and swims up the reproductive tract until they reach the egg to fertilize it.
Ejaculated sperm that land on cold, dry objects may die after a few minutes — although very rarely they may last a whole 30 minutes.
Wear what makes you comfortable.
So, boxers are only a little bit more sperm-friendly.