Moscow: Russian President Vladimir Putin on Tuesday signed legislation that will grant former presidents lifetime immunity once they leave office.