Can you remove solar panels to another home?

So we will be moving to a home out in CA, the desert part where its usually 100* Degrees. So we definitly want to get solar panels to reduce energy costs considering we will have AC all day and heating in winter. But we only to plan to live there about 2- 3years. Can you move solar panels to another house?