Why wouldn't we allow legal residents to receive it?
Also, logistics. If immigrants can get the UBI, then people would flood in from all over the world just to get UBI. You'd either have a ton of expense, or you'd have to make legal immigration nearly impossible.
Basically a gigantic extra tax for not having citizenship.