Exam Validity

would like to know that how long for my ph score is valid…as i will graduate in 2018…so can i give the test now??