in order to stay in the US, when should I apply spouse based visa to be able to stay in the country legally. how much time does it takes to process a spouse based immigration petition.