Your holiday home cannot be your main residence. You must have another residence which must be in your name and you must pay e.g. council tax and utilities – it is your home, as opposed to your holiday home.
It is not against the law to spend more time at your holiday home than your home (some people take a lot of holidays). That said, anyone on the lookout for people living permanently in holiday homes will question this, so if you do spend more time in your holiday home, your argument and paperwork must be foolproof.