If you spend too much time out of the UK then it will affect the status of your UP visa, and would lead to problems when you apply for ILR. I would recommend that you visit the UK as often as possible, try not to leave absences of more than three months, and make sure that you retain links to the UK such a s abank account and your name on your apartment lease.
Victoria