That's not correct. Obamacare doesn't cover undocumented immigrants. You're thinking of Medi-Cal which covers the undocumented and others.
Which makes sense since the goal is to reduce the number of uninsured and the undocumented are mostly taxpayers as well.