You are free to travel to India anytime, the only difference is that, if you travel now, there is no abandonment of Change of Status. If you travel later, your COS is abandoned, that's it. It is better to travel before COS is filed and get your F1 stamping done in India, if you choose to study. If you are not really keen on studying, I recommend, you wait for few months and get back on H4 after your spouse's H1B. Just do not try to do get F1 visa for the sake of immigration and status, not a good idea.