The Associated Press has learned that the Homeland Security Department official in charge of the agency's immigration enforcement and removal operations has resigned after hundreds of illegal immigrants were released from jails because of government spending cuts.