Memory effects in polymer liquid crystals: influence of thermal history of phase behavior