No, UK tax is far more complicated than that sadly. The guidence notes are available on line and warrent close study. Depending on your ties, family availability of accommodation etc, you might be left with far less than 90 days. It is also now not an average.
On the positive side it is all now laid down on line.