Undergraduate and postgraduate students can stay back in UK for 2 years after the completion of their courses whereas Ph.D students can stay up to 3 years.