Well, Jackolantern said it right, I have a friend who went through the exact process, he came to the U.S. illegally is in the U.S for nine years marry a U.S citizen and they have a kid.
He was sponsored,in December 2009 got his EAD, SSI etc, now when he was call for the interview in Feb. 2010 his Lawyer told him not to go for the interview and now immigration sent him a letter and ask him to leave the country within 30 days or face deportation which i think triggers the 10 years bond. So you have to be careful what you are doing and get proper legal advice. Like Jackolantern said you must enter the U.S legally and also that proff is required when filing you papers. Good Luck.
This is not legal advice, I am neither a lawyer nor an immigration consultant in any way.