This randomized phase III trial studies how well erlotinib hydrochloride compared to observation works in treating patients with stage IB-IIIA non-small cell lung cancer that has been completely removed by surgery. Erlotinib hydrochloride may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth.