So sorry to hear of your news.
As to stopping work; it really depends on your husband's needs on a daily basis. If he is able to carry on with his regular schedule, then he may be fine with you working.
If you enjoy your job and need the income, that may be another reason to keep working.
However, if your job is at all stressful, then perhaps focus on your husband and spending quality time together is the most important thing. Taking time off for appointments is another consideration.
A co-worker took a leave while her husband was sick, but she admitted afterwards she felt a bit isolated and out of sorts with her routine.
You are right to make no hasty decisions. All the best.