Medicaid, CHIP, and other public programs will not affect your chances of becoming a lawful permanent resident or citizen. If you are trying to earn lawful residency, an immigration lawyer can help you do so while keeping health insurance in mind.