Is pulling an all nighters a good idea???

man I am so bad at his/civ i really think that I need to pull an all nighter tonight... but is it a good idea?