The First Presidency has for many years taught that undocumented status should not by itself prevent an otherwise worthy Church member from entering the temple or being ordained to the priesthood.
Bishops are in the best position to make appropriate judgments as to Church privileges. Meanwhile, Church members should avoid making judgments about fellow members in their congregations.
(See also Church Issues New Statement on Immigration)