There is no time frame or waiting time, you can do that as soon as you wish. However, in order for your future wife to obtain permanent resident status, you will need to go through immigration process after you marry her. Just marriage will not give any immigration rights.