The cockroach will still be able to survive for some time. However, without the second half of its body, it will become weak and unable to navigate in space. Without the brain, the roach's memory deteriorates. The pest will die in a while, or other predators will eat it.