If Obama federalizes the Guard, the only way he can order them to the border, they will then fall under posse comitatus provisions and will not be able to detain and arrest.
They will end up like before, fixing fences and washing the Border patrol trucks, and posing for Obama photo ops.
I do think placing military on the border is justified and not violating posse comitatus.
Illegals are not US citizens, so the military can legally detain them.