As soon as the distance of your fork is at least 8cm. This is the only "technical" constraint. For the rest you just have to change the wheel and eventually adjust the brakes.
Remember to check the size of your wheel. Please click here to get all the information.