Unless he is prevented by a legitimate impediment, whoever has been promoted to the episcopacy must receive episcopal consecration within three months from the receipt of the apostolic letter and before he takes possession of his office.
Source: Code of Canon Law (Vatican.va)