While hand sanitizer may have some insecticidal properties, it is not an effective cockroach killer. It is unlikely to kill cockroaches, and may even repel them.