Does opening UP a Legal entity come with advantages, such as a resident permit?

While you will get many advantages for your business, a resident permit is not one of them. Non-residents are allowed to register, i.e. to open legal entities in the UK, but that fact doesn't automatically grant non-residents with resident permits. These are two separate processes.