It is entirely professional to tell your co-workers why you will (or might) unexpectedly not be working for a while - if your work involves regular interaction with other team members, your physical location isn't very relevant to the situation. The impact on the work of the team as a whole will be pretty much the same, whatever the reason is for your unplanned absence.
It is not professional to put them in a situation where they might feel pressured to join in your mourning and grieving - unless some of them knew your mom personally, of course.
You are now in a situation where something very important to you has just happened, but most of the rest of the world neither knows, nor really wants to know, about it. Finding a way to handle that situation is part of the grieving and "healing" process that you have just started to go through.