Lister could have found another place to live
As big as the Red Dwarf is, Lister could have essentially hid from Rimmer if he wanted to. There had to be various living quarters spread about. The ship has thousands of floors as pointed out in Stasis Leak, as well as being miles in length.
Granted, he would have to convince Holly to not divulge his wherabouts to Rimmer.