Sanding is a common step in repainting, but it is not required for painting walls. Unless you have filled in some holes and need to sand excess dried filler flat, then you can get straight on with cleaning and priming the wall before painting.