Yes, if you meet the eligibility requirements. You can apply for Medicaid while you are incarcerated, even if you are currently serving time.