As an international student you must seek advice from the International Student Support team before embarking on a break in your studies. In most cases, if your break will be longer than 60 days then yes, it will have an impact on your visa.
The University will notify the Home Office that you are taking time away from your studies. It is important that you return overseas for your break. You must apply for a new Confirmation of Acceptance for Studies (CAS) and visa before you return to the University.