Being paid for 1-3 months is entirely independent of whether they want you in the office or not.
In Britain it's called gardening leave, and it's common in finance and other jobs with tight security. You are paid, but you stay and home and do some gardening. (Or, more likely, look for a new job.)