Let me give a more clear example.

Say you live in A but send an illegal e-mail to a person who lives in B, then B can still prosecute even though you live in A. This is a general example of jurisdiction prosecution.