It all depends on previous results, amount of cells used and the cell line you are working with. Try and find some papers where researchers have already done transwell migration assays for your cell line, and pay close attention to the amount of cells placed in the well. You can choose how long you'll incubate the cells to better suit your experimental design, and then make some test with different quantities of cells to find the optimum setup.