The man suspected of killing a police officer early Wednesday in Stanislaus County, California, is in the country illegally, authorities said Thursday.